package com.weight.system.weight.VO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 称重记录表
 */
@Data
public class WeightInfoVO implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@Excel(name = "称重记录id")
	@JSONField(name = "weightId")
	private String weightId; //称重记录id

	@Excel(name = "设备id")
	@NotBlank(message = "设备id不能为空")
	@JSONField(name = "equmtId")
	private String equmtId; //设备id

	@Excel(name = "机构id")
	@NotBlank(message = "机构id不能为空")
	@JSONField(name = "orgId")
	private String orgId; //机构id

	@Excel(name = "称重时间")
	@NotBlank(message = "称重时间不能为空")
	@JSONField(name = "weightDate")
	private String weightDate; //称重时间

	@Excel(name = "重量")
	@NotNull(message = "重量不能为空")
	@JSONField(name = "weightCount")
	private BigDecimal weightCount; //重量

	@Excel(name = "称重记录数据")
	@NotBlank(message = "称重记录数据不能为空")
	@JSONField(name = "weightData")
	private String weightData; //称重记录数据

	@Excel(name = "序号")
	@NotBlank(message = "序号不能为空")
	@JSONField(name = "weightSeq")
	private String weightSeq; //序号

	@Excel(name = "年月日时分秒")
	@NotBlank(message = "年月日时分秒不能为空")
	@JSONField(name = "weightTime")
	private String weightTime; //年月日时分秒

	@Excel(name = "车号")
	@NotBlank(message = "车号不能为空")
	@JSONField(name = "weightCar")
	private String weightCar; //车号

	@Excel(name = "单位号")
	@NotBlank(message = "单位号不能为空")
	@JSONField(name = "weightOrg")
	private String weightOrg; //单位号

	@Excel(name = "货号")
	@NotBlank(message = "货号不能为空")
	@JSONField(name = "weightGood")
	private String weightGood; //货号

	@Excel(name = "毛重")
	@NotBlank(message = "毛重不能为空")
	@JSONField(name = "weightMweight")
	private String weightMweight; //毛重

	@Excel(name = "皮重")
	@NotBlank(message = "皮重不能为空")
	@JSONField(name = "weightPweight")
	private String weightPweight; //皮重

	@Excel(name = "状态")
	@NotNull(message = "状态不能为空")
	@JSONField(name = "weightStatus")
	private Integer weightStatus; //状态


	public  WeightInfoVO(){
		super();
	}

	public  WeightInfoVO(String weightId,String equmtId,String orgId,String weightDate,BigDecimal weightCount,String weightData,String weightSeq,String weightTime,String weightCar,String weightOrg,String weightGood,String weightMweight,String weightPweight,Integer weightStatus){
		super();
		this.weightId = weightId;
		this.equmtId = equmtId;
		this.orgId = orgId;
		this.weightDate = weightDate;
		this.weightCount = weightCount;
		this.weightData = weightData;
		this.weightSeq = weightSeq;
		this.weightTime = weightTime;
		this.weightCar = weightCar;
		this.weightOrg = weightOrg;
		this.weightGood = weightGood;
		this.weightMweight = weightMweight;
		this.weightPweight = weightPweight;
		this.weightStatus = weightStatus;
	}

}